﻿@{
    Layout = null;
    ViewBag.Title = "个人信息";
    var user = ViewData["user"] as Pay.DTO.merchant_dto;
    var domain = ViewData["url"] as string;
    var src = domain + user.photo;
}
<html>
<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    <meta name="format-detection" content="telphone=no, email=no" />
    <meta name="full-screen" content="yes">
    <meta name="x5-fullscreen" content="true">
    <meta name="msapplication-tap-highlight" content="no">
    <link rel="stylesheet" type="text/css" href="~/Content/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/css/gelunbu.css" />
    <script type="text/javascript">
        function jump(url) {
         
            window.location.href = url;
            
        }
    </script>
</head>
<body style="background:#F0F0F0;">

    <div class="set">
        <ul class="set_container">
            <li>
                <a href="javascript:;">
                    头像
						@if (string.IsNullOrEmpty(user.photo)) {
            <img src="~/Content/images/head_portrait.png" class="portrait" />
                }else{
                <span><img src="@src"  class="portrait"/></span>
                }
                </a>
            </li>
            <li class="bd_bottom_none">
                <a href="javascript:;" onclick="jump('/User/UpdateName')">
                    昵称
                    <span class="nickname">@user.name</span>
                </a>
            </li>
            <li class="space"></li>
            
        </ul>
    </div>
</body>
</html>